package com.apusic.service;

import com.apusic.dao.LogDao;
import com.apusic.entity.TLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("logService")
public class LogService {

	@Autowired
	private LogDao logDao;

	public List<TLog> getLogData(Map<String, Object> map) {
		return logDao.getLogData(map);
	}

	public TLog getLogPv(Map<String, Object> map) {
		return logDao.getLogPv(map);
	}

	public List<TLog> getLogModulePV(Map<String, Object> map) {
		return logDao.getLogModulePV(map);
	}

	public List<TLog> getLogTrendPV(Map<String, Object> map) {
		return logDao.getLogTrendPV(map);
	}
}
